Package com.cisco.pt.ipc.sim.pdu.impl
Class OSPFNetworkLSAImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.OSPFLSAImpl
com.cisco.pt.ipc.sim.pdu.impl.OSPFNetworkLSAImpl
- All Implemented Interfaces:
IPCData,OSPFLSA,OSPFNetworkLSA,Pdu,Signal
-
Field Summary
FieldsFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.OSPFLSAImpl
headerFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) getMask()voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidvoidsetRouters(List<IPAddress> routers) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.OSPFLSAImpl
getHeader, setHeaderMethods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
mask
-
routers
-
-
Constructor Details
-
OSPFNetworkLSAImpl
public OSPFNetworkLSAImpl()
-
-
Method Details
-
getMask
- Specified by:
getMaskin interfaceOSPFNetworkLSA- Returns:
- IPAddress Returns a IPAddress
-
setMask
- Specified by:
setMaskin interfaceOSPFNetworkLSA- Parameters:
mask- Takes in a parameter of mask
-
getRouters
- Specified by:
getRoutersin interfaceOSPFNetworkLSA- Returns:
- List<IPAddress> Returns a List<IPAddress>
-
setRouters
- Specified by:
setRoutersin interfaceOSPFNetworkLSA- Parameters:
routers- Takes in a parameter of routers
-
getFieldType
- Overrides:
getFieldTypein classOSPFLSAImpl
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Overrides:
readin classOSPFLSAImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-
pduRead
- Specified by:
pduReadin interfaceSignal- Overrides:
pduReadin classOSPFLSAImpl
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classOSPFLSAImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classOSPFLSAImpl
-